package com.amazon.bo;

import com.amazon.bo.base.BaseBo;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Column;
import javax.persistence.Entity;
import java.io.Serializable;

/**
 * Created by anhui on 2018/3/11.
 */
@Entity
@DynamicUpdate
@DynamicInsert
public class AmazonOrderItem  extends BaseBo implements Serializable {

    @Column(columnDefinition = ("varchar(255) default null comment '商品的亚马逊标准识别号 (ASIN)。'"))
    private String asin;

    public String getASIN() {
        return this.asin;
    }

    public void setASIN(String asin) {
        this.asin = asin;
    }

    @Column(columnDefinition = ("varchar(256) default null comment '商品的卖家 SKU'"))
    private String sellerSKU;

    public String getSellerSKU() {
        return this.sellerSKU;
    }

    public void setSellerSKU(String sellerSKU) {
        this.sellerSKU = sellerSKU;
    }

    @Column(columnDefinition = ("varchar(257) default null comment '亚马逊定义的订单商品识别号'"))
    private String orderItemId;

    public String getOrderItemId() {
        return this.orderItemId;
    }

    public void setOrderItemId(String orderItemId) {
        this.orderItemId = orderItemId;
    }

    @Column(columnDefinition = ("varchar(258) default null comment '商品名称。'"))
    private String title;

    public String getTitle() {
        return this.title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    @Column(columnDefinition = ("int(11) default null comment '商品数量'"))
    private int quantityOrdered;

    public int getQuantityOrdered() {
        return this.quantityOrdered;
    }

    public void setQuantityOrdered(int quantityOrdered) {
        this.quantityOrdered = quantityOrdered;
    }

    @Column(columnDefinition = ("int(11) default null comment '已配送的商品数量'"))
    private int quantityShipped;

    public int getQuantityShipped() {
        return this.quantityShipped;
    }

    public void setQuantityShipped(int quantityShipped) {
        this.quantityShipped = quantityShipped;
    }

    @Column(columnDefinition = ("varchar(261) default null comment '订单商品的售价。注意，订单商品指的商品和数量。这意味着，ItemPrice 的价值等于商品售价乘以订购数量。请注意： ItemPrice 不包括ShippingPrice 和GiftWrapPrice'"))
    private String itemPrice;

    public String getItemPrice() {
        return this.itemPrice;
    }

    public void setItemPrice(String itemPrice) {
        this.itemPrice = itemPrice;
    }

    @Column(columnDefinition = ("varchar(262) default null comment '运费'"))
    private String shippingPrice;

    public String getShippingPrice() {
        return this.shippingPrice;
    }

    public void setShippingPrice(String shippingPrice) {
        this.shippingPrice = shippingPrice;
    }

    @Column(columnDefinition = ("varchar(263) default null comment '商品的礼品包装金额。'"))
    private String giftWrapPrice;

    public String getGiftWrapPrice() {
        return this.giftWrapPrice;
    }

    public void setGiftWrapPrice(String giftWrapPrice) {
        this.giftWrapPrice = giftWrapPrice;
    }

    @Column(columnDefinition = ("varchar(264) default null comment '商品价格的税费。'"))
    private String itemTax;

    public String getItemTax() {
        return this.itemTax;
    }

    public void setItemTax(String itemTax) {
        this.itemTax = itemTax;
    }

    @Column(columnDefinition = ("varchar(265) default null comment '运费的税费。'"))
    private String shippingTax;

    public String getShippingTax() {
        return this.shippingTax;
    }

    public void setShippingTax(String shippingTax) {
        this.shippingTax = shippingTax;
    }

    @Column(columnDefinition = ("varchar(266) default null comment '礼品包装金额的税费。'"))
    private String giftWrapTax;

    public String getGiftWrapTax() {
        return this.giftWrapTax;
    }

    public void setGiftWrapTax(String giftWrapTax) {
        this.giftWrapTax = giftWrapTax;
    }

    @Column(columnDefinition = ("varchar(267) default null comment '运费的折扣。'"))
    private String shippingDiscount;

    public String getShippingDiscount() {
        return this.shippingDiscount;
    }

    public void setShippingDiscount(String shippingDiscount) {
        this.shippingDiscount = shippingDiscount;
    }

    @Column(columnDefinition = ("varchar(268) default null comment '报价中的全部促销折扣总计。'"))
    private String promotionDiscount;

    public String getPromotionDiscount() {
        return this.promotionDiscount;
    }

    public void setPromotionDiscount(String promotionDiscount) {
        this.promotionDiscount = promotionDiscount;
    }

    @Column(columnDefinition = ("varchar(269) default null comment 'PromotionId 元素列表'"))
    private String promotionIds;

    public String getPromotionIds() {
        return this.promotionIds;
    }

    public void setPromotionIds(String promotionIds) {
        this.promotionIds = promotionIds;
    }

    @Column(columnDefinition = ("varchar(270) default null comment 'COD 服务费用。'"))
    private String cODFee;

    public String getCODFee() {
        return this.cODFee;
    }

    public void setCODFee(String cODFee) {
        this.cODFee = cODFee;
    }

    @Column(columnDefinition = ("varchar(271) default null comment '货到付款费用的折扣。'"))
    private String cODFeeDiscount;

    public String getCODFeeDiscount() {
        return this.cODFeeDiscount;
    }

    public void setCODFeeDiscount(String cODFeeDiscount) {
        this.cODFeeDiscount = cODFeeDiscount;
    }

    @Column(columnDefinition = ("varchar(272) default null comment '买家提供的礼品消息。'"))
    private String giftMessageText;

    public String getGiftMessageText() {
        return this.giftMessageText;
    }

    public void setGiftMessageText(String giftMessageText) {
        this.giftMessageText = giftMessageText;
    }

    @Column(columnDefinition = ("varchar(273) default null comment '买家指定的礼品包装等级。'"))
    private String giftWrapLevel;

    public String getGiftWrapLevel() {
        return this.giftWrapLevel;
    }

    public void setGiftWrapLevel(String giftWrapLevel) {
        this.giftWrapLevel = giftWrapLevel;
    }

    @Column(columnDefinition = ("varchar(274) default null comment '发票信息（仅适用于中国）'"))
    private String invoiceData;

    public String getInvoiceData() {
        return this.invoiceData;
    }

    public void setInvoiceData(String invoiceData) {
        this.invoiceData = invoiceData;
    }

    @Column(columnDefinition = ("varchar(275) default null comment '卖家描述的商品状况'"))
    private String conditionNote;

    public String getConditionNote() {
        return this.conditionNote;
    }

    public void setConditionNote(String conditionNote) {
        this.conditionNote = conditionNote;
    }

    @Column(columnDefinition = ("varchar(276) default null comment '商品的状况。NewUsed Collectible Refurbished Preorder Club'"))
    private String conditionId;

    public String getConditionId() {
        return this.conditionId;
    }

    public void setConditionId(String conditionId) {
        this.conditionId = conditionId;
    }

    @Column(columnDefinition = ("varchar(277) default null comment '商品的子状况 NewMint Very Good Good Acceptable Poor Club OEM Warranty Refurbished Warranty Refurbished Open Box Any Other'"))
    private String conditionSubtypeId;

    public String getConditionSubtypeId() {
        return this.conditionSubtypeId;
    }

    public void setConditionSubtypeId(String conditionSubtypeId) {
        this.conditionSubtypeId = conditionSubtypeId;
    }

    @Column(columnDefinition = ("varchar(278) default null comment '订单预约送货上门的开始日期（目的地时区）。日期格式为 ISO 8601。'"))
    private String scheduledDeliveryStartDate;

    public String getScheduledDeliveryStartDate() {
        return this.scheduledDeliveryStartDate;
    }

    public void setScheduledDeliveryStartDate(String scheduledDeliveryStartDate) {
        this.scheduledDeliveryStartDate = scheduledDeliveryStartDate;
    }

    @Column(columnDefinition = ("varchar(279) default null comment '订单预约送货上门的终止日期（目的地时区）。日期格式为 ISO 8601。'"))
    private String scheduledDeliveryEndDate;

    public String getScheduledDeliveryEndDate() {
        return this.scheduledDeliveryEndDate;
    }

    public void setScheduledDeliveryEndDate(String scheduledDeliveryEndDate) {
        this.scheduledDeliveryEndDate = scheduledDeliveryEndDate;
    }

}
